﻿#ifndef _OI_PLSCANNER_OIPREVIEWER_HPP_
#define _OI_PLSCANNER_OIPREVIEWER_HPP_

#include "Ctrl/OiDialog.hpp"

namespace Oi
{
    namespace PLScannerCore
    {
        class LTPreviewer : public Ctrl::Dialog
        {
            Q_OBJECT
        public:
            LTPreviewer(QWidget *parent = Q_NULLPTR);
            ~LTPreviewer();

        public slots:
            void onReady();
            void onUpdateChart();
            void onRefresh(const LTCameraFrame& rangeMaps, const QDateTime& timestamp);
            void onSaveProfile();
            void onUpdateExposure(double);
            void onUpdateGain(double);

        private:
            OI_DISABLE_COPY(LTPreviewer);
            OI_DECLARE_IMPL(LTPreviewer);

        };

    }
}

#endif